/*
 * @Description: -
 * @Author: nardy.sanghx
 * @Date: 2019-11-19 13:58:58
 * @LastEditors: nardy.sanghx
 * @LastEditTime: 2019-11-19 14:09:27
 */
import Vue from 'vue'
import App from './App'
import store from '@/store/index'

Vue.config.productionTip = false

Vue.prototype.$store = store
// 普通跳转
Vue.prototype.$navChange = function (path) {
  wx.navigateTo({ url: path })
}
// 普通跳转
Vue.prototype.$redirectTo = function (path) {
  wx.redirectTo({ url: path })
}

const app = new Vue({
  mpType: 'app',
  store,
  ...App
})
app.$mount()
